{include file="public/top"}
<article class="page-container">
    <form class="form-horizontal" role="form" action="" method="post">
    <input type="hidden" name="id" value="{$confs.id}">
    <div class="row cl" style="padding-top:20px;margin-left:-40px;">
        <label for="username" class="form-label col-xs-4 col-sm-3">
            <span class="c-red">*</span>中文名称：
        </label>
        <div class="formControls col-xs-8 col-sm-4">
            <input type="text" class="input-text" value="{$confs.cnname}" placeholder="中文名称" id="cnname" name="cnname">
        </div>
    </div>
    <div class="row cl" style="padding-top:20px;margin-left:-40px;">
        <label for="username" class="form-label col-xs-4 col-sm-3">
            <span class="c-red">*</span>英文名称：
        </label>
        <div class="formControls col-xs-8 col-sm-4">
            <input type="text" class="input-text" value="{$confs.enname}" placeholder="英文名称" id="enname" name="enname">
        </div>
    </div>
    
    <div class="row cl" style="padding-top:20px;margin-left:-40px;">
        <label class="form-label col-xs-4 col-sm-3">配置类型：</label>
        <div class="formControls col-xs-8 col-sm-9"> <span class="select-box" style="width:150px;">
            <select class="select" name="type" size="1">
                <option value="0">请选择</option>
                    <option {if condition="$confs['type'] eq 1"} selected="selected"{/if} value="1">单行文本</option>
                    <option {if condition="$confs['type'] eq 2"} selected="selected"{/if} value="2">多行文本</option>
                    <option {if condition="$confs['type'] eq 3"} selected="selected"{/if} value="3">单选按钮</option>
                    <option {if condition="$confs['type'] eq 4"} selected="selected"{/if} value="4">复选框</option>
                    <option {if condition="$confs['type'] eq 5"} selected="selected"{/if} value="5">下拉菜单</option>
            </select>
        </div>
    </div>

    <div class="row cl" style="padding-top:20px;margin-left:-40px;">
        <label class="form-label col-xs-4 col-sm-3">可选值：</label>
        <div class="formControls col-xs-8 col-sm-9">
            <textarea id="values" name="values" cols="" rows="" class="textarea"  placeholder="说点什么...100个字符以内" dragonfly="true" onKeyUp="$.Huitextarealength(this,100)">{$confs.values}</textarea>
            <p class="textarea-numberbar"><em class="textarea-length">0</em>/200</p>
        </div>
    </div>

    <div class="row cl" style="padding-top:20px;margin-left:40px;">
        <div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-3">
            <input class="btn btn-primary radius" type="submit" value="&nbsp;&nbsp;提交&nbsp;&nbsp;">
        </div>
    </div>
    </form>
</article>

<!--请在下方写此页面业务相关的脚本-->
<script type="text/javascript" src="__ADMIN__/lib/jquery.validation/1.14.0/jquery.validate.js"></script> 
<script type="text/javascript" src="__ADMIN__/lib/jquery.validation/1.14.0/validate-methods.js"></script> 
<script type="text/javascript" src="__ADMIN__/lib/jquery.validation/1.14.0/messages_zh.js"></script>

<!--/请在上方写此页面业务相关的脚本-->
{include file="public/footer"}